import { UnitType } from "core/typeDefine/typeDefine";

export default {
    baseAttri: {
        maxHp: [2, 4, 0, 0.1, 10],
        attack: [1, 0.4, 0, 0.01, 1],
        def: [1, 0.2, 0, 0.005, 0.5],
        speed: [10, 0.1, 0, 0.002, 0.5],
        critRate: [15, 0, 0],
        critHurtPer: [50, 0, 0]
    },
    monsterLvlAttriCoe: [
        {lvl: [0, 50], attriCoe: 0.2},
        {lvl: [51, 100], attriCoe: 0.3},
        {lvl: [101, 200], attriCoe: 0.4},
        {lvl: [201, 400], attriCoe: 0.4},
        {lvl: [401, 1000], attriCoe: 0.5},
        {lvl: [1001, 2000], attriCoe: 0.7},
        {lvl: [2001, 3000], attriCoe: 0.9},
        {lvl: [3001, 4000], attriCoe: 1},
        {lvl: [4001, 5000], attriCoe: 1.1},
        {lvl: [5001, 7000], attriCoe: 1.3},
        {lvl: [7001, 9999999], attriCoe: 1.8},
    ],
    otherAttris: {
        critRate: {
            lvlValues: [0, 0.1, 0, 0, 0, 1],
            lvlMaxValue: 30,
        },
        critHurtPer: {
            lvlValues: [0, 0.1, 0, 0, 0, 1],
            lvlMaxValue: 70,
        },
        skillHurtPer: {
            lvlValues: [0, 0.1, 0, 0, 0, 1],
            lvlMaxValue: 70,
        },
        blockRate: {
            lvlValues: [0, 0.03, 0, 0, 0, 1],
            lvlMaxValue: 40,
        },
        antiBlockRate: {
            lvlValues: [0, 0.03, 0, 0, 0, 1],
            lvlMaxValue: 40,
        },
        breakDefRate: {
            lvlValues: [0, 0.03, 0, 0, 0, 1],
            lvlMaxValue: 40,
        },
        antiBreakDefRate: {
            lvlValues: [0, 0.03, 0, 0, 0, 1],
            lvlMaxValue: 40,
        },
    },
    monsterTypeAdd: {
        [UnitType.Init]: 1,
        [UnitType.Normal]: 1.1,
        [UnitType.Elite]: 1.2,
        [UnitType.Lord]: 1.3,
        [UnitType.Boss]: 1.5,
        [UnitType.WBoss]: 30,
    },
    monsterTypeHpAdd: {
        [UnitType.Init]: 1,
        [UnitType.Normal]: 1,
        [UnitType.Elite]: 2,
        [UnitType.Lord]: 3,
        [UnitType.Boss]: 5,
        [UnitType.WBoss]: 5000000,
    },
    monsterTypeSkillLvl: {
        [UnitType.Init]: 1,
        [UnitType.Normal]: 1,
        [UnitType.Elite]: 2,
        [UnitType.Lord]: 3,
        [UnitType.Boss]: 4,
        [UnitType.WBoss]: 4,
    },
    baseMonsterList: [310002, 310005, 310008, 310011, 310014, 310017, 310020, 310023, 310026, 310029, 310032, 310035, 310038, 310041, 310044, 310047, 310050, 310053, 310056],
}